# Maintainer: Balló György <ballogyor+arch at gmail dot com>

pkgname=sugar-activity-imageviewer
#_pkgname=ImageViewer
_pkgname=imageviewer-activity
pkgver=65
pkgrel=3
epoch=1
pkgdesc="Image viewer for Sugar"
arch=('any')
url="https://wiki.sugarlabs.org/go/Activities/Image_Viewer"
license=('GPL')
groups=('sugar-fructose')
depends=('sugar-toolkit-gtk3')
#source=(https://download.sugarlabs.org/sources/sucrose/fructose/$_pkgname/$_pkgname-$pkgver.tar.bz2)
source=($pkgname-$pkgver.tar.gz::https://github.com/sugarlabs/imageviewer-activity/archive/v$pkgver.tar.gz)
sha256sums=('eda71774194e8bbddcb724f6b5e8aba52102c7baf88fb3b6cc153bc2d2485a76')

package() {
  cd $_pkgname-$pkgver
  python setup.py install --prefix "$pkgdir/usr" --skip-install-desktop-file
}
